<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox float-e-margins">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input id="inspectionId" name="inspectionId" th:value="${inspectionDO.inspectionId}" type="hidden">
						<div class="form-group">
							<label class="col-sm-3 control-label">检验单号：</label>
							<div class="col-sm-8">
								<input id="order" name="order" th:value="${inspectionDO.order}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">检验时间：</label>
							<div class="col-sm-8">
								<input id="inspectionTime" name="inspectionTime" th:value="${#dates.format(inspectionDO.inspectionTime,'yyyy-MM-dd HH:mm')}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">检验品种：</label>
							<div class="col-sm-8">
								<input id="varieties" name="varieties" th:value="${inspectionDO.varieties}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">检验结果：</label>
							<div class="col-sm-8">
								<input id="result" name="result" th:value="${inspectionDO.result}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">第三方检验机构名称：</label>
							<div class="col-sm-8">
								<input id="thirdParty" name="thirdParty" th:value="${inspectionDO.thirdParty}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">负责人：</label>
							<div class="col-sm-8">
								<input id="principal" name="principal" th:value="${inspectionDO.principal}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">联系方式：</label>
							<div class="col-sm-8">
								<input id="telephone" name="telephone" th:value="${inspectionDO.telephone}" class="form-control" type="text" maxlength="11">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">标识(0 种植环节
								1 葡萄酒加工环节)：</label>
							<div class="col-sm-8">
								<select name="flag" class="form-control" th:if="${inspectionDO.flag} eq 0">
									<option value="0" selected>
										种植环节
									</option>
									<option value="1">
										葡萄酒加工环节
									</option>
								</select>
								<select name="flag" class="form-control" th:if="${inspectionDO.flag} eq 1">
									<option value="0">
										种植环节
									</option>
									<option value="1" selected>
										葡萄酒加工环节
									</option>
								</select>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<button type="button" onclick="save(1)" class="btn btn-primary">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/blog/inspection/edit.js">

</script>
</body>
</html>
